
import config from '../webconfig.js'
const url = config.rootUrl;//测试环境
export default {
	// 登录
	getAddress: 'https://jscommonapi.escase.cn/Controller/ApiController.ashx?action=getaddress',//获取省市区
	GetToken:url + '/Login/GetToken',
	GetProgramToken:url+'/api/System/GetProgramToken',//小程序token
	GetTestToken:url+'/api/System/GetTestToken',
	getAuthorizationCode:url+"/Login/GetAuthorizationCode",
	isDev: false, //是否获取测试token
	getopenid:'/WxOpenId/Index?token=',
	ossUrlSp: 'https://oss.esurl.cn/api/Images/Upload',//小程序上传图片
	ossUrlWxh5:'https://oss.esurl.cn/api/Images/UploadFromWeChat2',//微信sdk上传图片
	GetOssKey:url + '/api/Custom/GetOssKey',//获取oss配置
	GetWebConfig:url + '/api/System/GetWebConfig',//获取oss配置
	
}
